package com.hdoit.ares.web.brokerage.modelconfig;
import com.tennetcn.component.attribute.DisplayNameAttribute;
import com.tennetcn.component.attribute.base.ModelMetadataAttributeConfiguration;

/**
 * @author      yujinhui
 * @email       
 * @createtime  2017年12月02日 14:28:07
 * @comment
 */
public class BrokerageRecordConfig extends ModelMetadataAttributeConfiguration{
    public BrokerageRecordConfig(){
        this.setProperty("brokerage")
            .hasAttribute(new DisplayNameAttribute("佣金"));

        this.setProperty("proportion")
            .hasAttribute(new DisplayNameAttribute("提成比例"));

        this.setProperty("userId")
            .hasAttribute(new DisplayNameAttribute("佣金所有者ID"));
        
        this.setProperty("userIdentity")
            .hasAttribute(new DisplayNameAttribute("消费者编号"));
        
        this.setProperty("customerName")
            .hasAttribute(new DisplayNameAttribute("消费者"));

        this.setProperty("recordDate")
            .hasAttribute(new DisplayNameAttribute("记录时间"));

        this.setProperty("currency")
            .hasAttribute(new DisplayNameAttribute("佣金币种"));
        
        this.setProperty("orderSn")
        	.hasAttribute(new DisplayNameAttribute("订单号"));
        
        this.setProperty("policyNo")
    		.hasAttribute(new DisplayNameAttribute("保单号"));
    }
}